/**
 ******************************************************************************
 * @file app_desktop.h
 * @author GX (2524913364@qq.com)
 * @brief 
 * @version 1.0.0 
 * @date 2022-07-11
 * 
 * @copyright Copyright (c) 2022
 * 
 ******************************************************************************
 *----------------------------------------------------------------------------*
 *  Remark         : Description                                              *
 *----------------------------------------------------------------------------*
 *  Change History :                                                          *
 *  <Date>     | <Version> | <Author>       | <Description>                   *
 *----------------------------------------------------------------------------*
 *  2022-07-11 | 1.0.0     | GX             | Create file                     *
 *----------------------------------------------------------------------------*
 *                                                                            *
 ******************************************************************************
 */


/*----------------------------- start of file -------------------------------*/
#ifndef _APP_DESK_TOP_H
#define _APP_DESK_TOP_H

#include <stdio.h>
#include <stdbool.h>

#define DESKTOP_WALLPAPER_PATH  "./data/dtop/dtop.bmp"    /* 桌面壁纸路径 */

/* 界面切换---------------------------------------- */
typedef enum 
{
  INTERFACE_NONE,        /* 没选择 */
  INTERFACE_UNLOCK,      /* 退出到锁屏 */
  INTERFACE_DESKTOP,     /* 桌面 */
  INTERFACE_POKEMON,     /* 宝可梦app */
  INTERFACE_PHOTO,       /* 相册app */
  INTERFACE_DRAW         /* 绘画app */
}INTERFACE_CHOOSE;




/* 桌面按键坐标-------------------------------------- */
/* 第一行应用Y坐标范围 */
#define DESKTOP_LINE1_Y_START   30
#define DESKTOP_LINE1_Y_END     145

/* 第一列应用X坐标范围 */
#define DESKTOP_ROW1_X_START    45
#define DESKTOP_ROW1_X_END      135

/* 第二列应用X坐标范围 */
#define DESKTOP_ROW2_X_START    195
#define DESKTOP_ROW2_X_END      285

/* 第三列应用X坐标范围 */
#define DESKTOP_ROW3_X_START    345
#define DESKTOP_ROW3_X_END      435

/* 退出键 */
#define DESKTOP_BK_X_START      725
#define DESKTOP_BK_X_END        800
#define DESKTOP_BK_Y_START      410
#define DESKTOP_BK_Y_END        480


INTERFACE_CHOOSE desktop_interface(void);

#endif  /* _APP_DESK_TOP_H */
 

/*------------------------------ end of file --------------------------------*/

